Consider converting an MT4 indicator <a href="https://www.dukascopy.com/wiki/https://www.dukascopy.com/wiki/files/Regression.txt">Regression.mq4</a>. First open it in the JForex Client:<br/><img src="https://www.dukascopy.com/wiki/files//mql4_in_jforex1.png" border="0" /><br/>Then compile it in the editor (or alternatively in <i>Workspace </i>panel left-click the indicator and select <i>Compile</i>):<br/><img src="https://www.dukascopy.com/wiki/files//mql4_in_jforex2.png" border="0" /><br/>Open a chart and then plot the indicator on the chart:<br/><img src="https://www.dukascopy.com/wiki/files//mql4_in_jforex3.png" border="0" /><br/>The result:<br/><img src="https://www.dukascopy.com/wiki/files//mql4_in_jforex4.png" border="0" /><br/>In a similar way one can use the indicators in <i>Historical Tester</i> <i>Visual Mode</i>. 